from django.urls import path
from . import views

urlpatterns = [
    path('', views.index, name='index'),
    path('register/', views.register, name='register'), #注册
    path('login/', views.login_view, name='login'), #登录
    path('welcome/', views.welcome, name='welcome'), #欢迎
    path('logout/', views.logout_view, name='logout') #退出登录
]